home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Special XP & Vista
/
Chip Spesial XP & Vista.iso
/
1_Audio_Video
/
MediaCell_Mobile_Video_Converter
/
MediaCellMobileVideoConverterSetupFull.exe
/
enc.bat
< prev
next >
Wrap
DOS Batch File
|
2006-10-05
|
1KB
|
55 lines
@echo off
REM
REM Command-line call to MediaCEll
REM
set ifile=%1
shift
set vcodec=%1
shift
set mapvideo=%1
shift
set mapaudio=%1
shift
set volume=%1
shift
set title=%1
shift
set stamp=%1
shift
set cropL=%1
shift
set cropR=%1
shift
set cropT=%1
shift
set cropB=%1
shift
if "%1"=="0" goto NO_START
set recSt=-ss %1
goto DURATION
:NO_START
set recSt=
:DURATION
shift
if "%1"=="@" goto NO_DUR
set recDur=-vframes %1
goto DUR_DONE
:NO_DUR
set recDur=
:DUR_DONE
shift
REM Apply Proper DIVX settings if necessary
if %vcodec%==divx goto DIVX
if %vcodec%==DIVX goto DIVX
goto ENCODE
:DIVX
set vcodec=mpeg4 -vtag DIVX
:ENCODE
set cmdLine=.\Engine\MediaCellEngine.exe -i %ifile% -f %8 -s %1 -vcodec %vcodec% -vol %volume% -deinterlace -cropleft %cropL% -cropright %cropR% -croptop %cropT% -cropbottom %cropB% -r %2 -b %3 -acodec %4 -ac %5 -ar %6 -async 100 -title %title% -timestamp %stamp% -bitexact -y %9
%cmdLine% > MediaCellEngine.log 2>&1
:END
exit